﻿using System;
using System.Collections.Generic;
using SweeperPrototype.Business;
using SweeperPrototype.Business.Fields;
using SweeperPrototype.Business.Keys;

namespace SweeperPrototype.Objects
{
    public partial class PositionSubscription
    {
        public class PositionUpdate
        {
            private readonly Shares m_Quantity;
            private readonly Timestamp m_Timestamp;

            public PositionUpdate(Shares quantity, Timestamp timestamp)
            {
                m_Quantity = quantity;
                m_Timestamp = timestamp;
            }

            public Shares Quantity
            {
                get { return m_Quantity; }
            }

            public Timestamp Timestamp
            {
                get { return m_Timestamp; }
            }
        }
    }
}